package com.ht.right.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@MappedSuperclass
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class BaseWorkFlow extends BaseEntity implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	private String wfInitiator;
	private String curUser;
	private String wfTacheName;
	private String wfCurNodeId;
	private String wfPreNodeId;
	private String wfPreUser;
	private String wfWaitApproval;
	private String wfFinishApproval;
	private String allUser;
	private String wfStatus;
	private String wfRouterId;
	private String wfDocLink;
	private String wfFlowLogXml;
	private String wfProcessXml;
	private String wfGraphXml;
	private Date subTime;
	private String subPerson;
	private String tempUserName;
	

	@Column(name = "wfInitiator", length = 64)
	public String getWfInitiator() {
		return this.wfInitiator;
	}

	public void setWfInitiator(String wfInitiator) {
		this.wfInitiator = wfInitiator;
	}
	
	@Column(name = "curUser", length = 64)
	public String getCurUser() {
		return this.curUser;
	}

	public void setCurUser(String curUser) {
		this.curUser = curUser;
	}

	@Column(name = "wfTacheName", length = 64)
	public String getWfTacheName() {
		return this.wfTacheName;
	}

	public void setWfTacheName(String wfTacheName) {
		this.wfTacheName = wfTacheName;
	}

	@Column(name = "wfCurNodeID", length = 64)
	public String getWfCurNodeId() {
		return this.wfCurNodeId;
	}

	public void setWfCurNodeId(String wfCurNodeId) {
		this.wfCurNodeId = wfCurNodeId;
	}

	@Column(name = "wfPreNodeID", length = 64)
	public String getWfPreNodeId() {
		return this.wfPreNodeId;
	}

	public void setWfPreNodeId(String wfPreNodeId) {
		this.wfPreNodeId = wfPreNodeId;
	}

	@Column(name = "wfPreUser", length = 64)
	public String getWfPreUser() {
		return this.wfPreUser;
	}

	public void setWfPreUser(String wfPreUser) {
		this.wfPreUser = wfPreUser;
	}

	@Column(name = "wfWaitApproval", length = 256)
	public String getWfWaitApproval() {
		return this.wfWaitApproval;
	}

	public void setWfWaitApproval(String wfWaitApproval) {
		this.wfWaitApproval = wfWaitApproval;
	}

	@Column(name = "wfFinishApproval", length = 256)
	public String getWfFinishApproval() {
		return this.wfFinishApproval;
	}

	public void setWfFinishApproval(String wfFinishApproval) {
		this.wfFinishApproval = wfFinishApproval;
	}

	@Column(name = "allUser", length = 256)
	public String getAllUser() {
		return this.allUser;
	}

	public void setAllUser(String allUser) {
		this.allUser = allUser;
	}

	@Column(name = "wfStatus", length = 1)
	public String getWfStatus() {
		return this.wfStatus;
	}

	public void setWfStatus(String wfStatus) {
		this.wfStatus = wfStatus;
	}

	@Column(name = "wfRouterID", length = 256)
	public String getWfRouterId() {
		return this.wfRouterId;
	}

	public void setWfRouterId(String wfRouterId) {
		this.wfRouterId = wfRouterId;
	}

	@Column(name = "wfDocLink", length = 64)
	public String getWfDocLink() {
		return this.wfDocLink;
	}

	public void setWfDocLink(String wfDocLink) {
		this.wfDocLink = wfDocLink;
	}

	@Column(name = "wfFlowLogXML", length = 65535)
	public String getWfFlowLogXml() {
		return this.wfFlowLogXml;
	}

	public void setWfFlowLogXml(String wfFlowLogXml) {
		this.wfFlowLogXml = wfFlowLogXml;
	}

	@Column(name = "wfGraphXML", length = 65535)
	public String getWfGraphXml() {
		return this.wfGraphXml;
	}

	public void setWfGraphXml(String wfGraphXml) {
		this.wfGraphXml = wfGraphXml;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "subTime", length = 10)
	public Date getSubTime() {
		return this.subTime;
	}

	public void setSubTime(Date subTime) {
		this.subTime = subTime;
	}

	@Column(name = "subPerson", length = 64)
	public String getSubPerson() {
		return this.subPerson;
	}

	public void setSubPerson(String subPerson) {
		this.subPerson = subPerson;
	}

	@Column(name = "tempUserName", length = 64)
	public String getTempUserName() {
		return this.tempUserName;
	}

	public void setTempUserName(String tempUserName) {
		this.tempUserName = tempUserName;
	}
	
	@Column(name = "wfProcessXML", length = 65535)
	public String getWfProcessXml() {
		return wfProcessXml;
	}

	public void setWfProcessXml(String wfProcessXml) {
		this.wfProcessXml = wfProcessXml;
	}
}
